$OpenBSD: patch-configure,v 1.11 2015/05/15 20:59:08 sthen Exp $

Workaround libpthread bug.

--- configure.orig	Fri May 15 07:02:29 2015
+++ configure	Fri May 15 15:47:11 2015
@@ -25701,7 +25701,7 @@ _ACEOF
 
 
 CFLAGS="$CFLAGS $EXTRA_CFLAGS"
-NOPLUGIN_LDFLAGS="-no-undefined"
+NOPLUGIN_LDFLAGS="-no-undefined -lpthread"
 if test "$with_gnu_ld" = yes; then
   NOPLUGIN_LDFLAGS="$NOPLUGIN_LDFLAGS -Wl,--as-needed"
 fi
